import { getToken } from '@/utils/auth'
export type IUserState = {
  token: string
  name: string
  avatar: string
  roles: any[]
  info: any
}

export const state: IUserState = {
  token: '',
  name: '',
  avatar: '',
  roles: [],
  info: {},
}
